|
![](/i/fill.gif) |
Hi all.
I've just finished a set of macros for use in my possible IRTC entry (running
out of time... don't even have basic scene set... uh oh). I want to be able to
"grow" an object. That is, expand it by some amount along the normal of all
surfaces, kind of like the grow command in a vector based drawing program.
This little include file does that for the five objects that I could figure out
how to grow.
I'll post a simple example image on p.b.i.
The next question is, can a general method for isosurfaces be had? I don't
really think so, but I thought I'd ask the question.
Michael
--
#macro M(D,J)text{ttf"cyrvetic.ttf"D 1,0translate-J}#end#macro N(E,K)#local A=
M(E,K)light_source{-z*30rgb 1projected_through{A}}#end N("Michael"<1.6,-.2,5>)
N("Johnson"<1.9.8,5>)sphere{z*9,4pigment{gradient x+y scale 10color_map{[0 rgb
x][1rgb x+y]}sine_wave}} // (c)2001 Michael D Johnson red### [at] wv adelphia net
Post a reply to this message
|
![](/i/fill.gif) |